//用户相关的小仓库
import { constantRoute } from '@/router/routers';
import {defineStore} from 'pinia'
let useUserStore = defineStore('User',{
    state:()=>{
        return {
            menRoutes:constantRoute,
            userName:''
        }
    },
    actions:{
        setUserName(n:string){
            this.userName = n
        }
    },
    getters:{

    }
})
export default useUserStore;